package edu.xhu.communityantiepidemicsystemback.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.xhu.communityantiepidemicsystemback.dto.UpdatePwd;
import edu.xhu.communityantiepidemicsystemback.entity.Staff;

public interface AuthService extends IService<Staff> {

    boolean checkLoginAccount(Staff staff);

    Staff getInfoByAccount(String account);
    //修改密码
    boolean updatePwdByAccount(UpdatePwd updatePwd);
}
